class RSAOAEP:
	def kg(self):
		return RSA().kg()

	def enc(self, rsa_pub, M):
		C1 = OAEP().enc(M)
		C2 = lib().ascii2int(C1)
		C3 = RSA().enc(rsa_pub, C2)
		return C3

	def dec(self, rsa_priv, C):
		M1 = RSA().dec(rsa_priv, C)
		M2 = lib().int2ascii(M1, 384)
		M3 = OAEP().dec(M2)
		return M3